package com.tangw.spring.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.tangw.spring.dao.common.BaseOperationDao;
import com.tangw.spring.dao.impl.UserDaoImpl;
import com.tangw.spring.model.User;
import com.tangw.spring.service.UserService;
import com.tangw.spring.service.common.AbstractService;

@Service("userService")
public class UserServiceImpl extends AbstractService<User> implements
		UserService {

	@Resource(name = "userDao")
	private UserDaoImpl dao;

	@Override
	protected BaseOperationDao<User> getDao() {
		return this.dao;
	}

}
